import request from '@/utils/request'

// 查询账号注册列表
export function listChatWsRegisterTaks(query) {
  return request({
    url: '/business/chatWsRegisterTaks/list',
    method: 'get',
    params: query
  })
}

// 查询账号注册详细
export function getChatWsRegisterTaks(id) {
  return request({
    url: '/business/chatWsRegisterTaks/' + id,
    method: 'get'
  })
}

// 新增账号注册
export function addChatWsRegisterTaks(data) {
  return request({
    url: '/business/chatWsRegisterTaks',
    method: 'post',
    data: data
  })
}

// 修改账号注册
export function updateChatWsRegisterTaks(data) {
  return request({
    url: '/business/chatWsRegisterTaks',
    method: 'put',
    data: data
  })
}

// 删除账号注册
export function delChatWsRegisterTaks(id) {
  return request({
    url: '/business/chatWsRegisterTaks/' + id,
    method: 'delete'
  })
}
